{% extends "base.html" %}
{% block head %}
  <script type="text/javascript">
  //<![CDATA[
  //]]>
  </script>
{% endblock %}
{% block body %}
	<div id="column">
		<div><img class="cover" src={{column.cover}}></div>
		<h1>{{column.title_cn}}</h1>
		<h2>count/{{count}}</h2>
		<div class="desc">{{column.description}}</div>
	</div>
	{% if pages %}
	<div class="pager">
		<ul>
		{% for p in pages %}
		{% ifequal p page %}
		<li class="cpage">{{p}}</li>
		{% else %}
		<li><a href="{{request.path}}?page={{p}}">{{p}}</a></li>
		{% endifequal %}
		{% endfor %}
		</ul>
	</div>
	{% endif %}	
	{% if shows %}
	<div id="showgallery">
	<ul class="list">
	{% for show in shows %}
	<li class="show">
		<a href="/show/{{show.cbnid}}" title="{{show.title_cn}}">{{show.title_cn}}</a>{% if show.downloaded%}<b>&lt;Downloaded&gt;</b>{% endif%}[{{show.showtime}}]
	</li>
	{% endfor %}
	</ul>
	</div>
	{% endif %}
	{% if pages %}
	<div class="pager">
		<ul>
		{% for p in pages %}
		{% ifequal p page %}
		<li class="cpage">{{p}}</li>
		{% else %}
		<li><a href="{{request.path}}?page={{p}}">{{p}}</a></li>
		{% endifequal %}
		{% endfor %}
		</ul>
	</div>
	{% endif %}	
{% endblock %}
{% block footer %}
{% endblock %}